package com.runvp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author update for xkk
 */
@EnableAsync
@EnableScheduling
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ServerApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(ServerApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  润来启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "rrrrr   rrrrrrrrr   uuuuuu    uuuuuu  nnnn  nnnnnnnn    vvvvvvv           vvvvvvvppppp   ppppppppp   \n" +
                "r::::rrr:::::::::r  u::::u    u::::u  n:::nn::::::::nn   v:::::v         v:::::v p::::ppp:::::::::p  \n" +
                "r:::::::::::::::::r u::::u    u::::u  n::::::::::::::nn   v:::::v       v:::::v  p:::::::::::::::::p \n" +
                "rr::::::rrrrr::::::ru::::u    u::::u  nn:::::::::::::::n   v:::::v     v:::::v   pp::::::ppppp::::::p\n" +
                " r:::::r     r:::::ru::::u    u::::u    n:::::nnnn:::::n    v:::::v   v:::::v     p:::::p     p:::::p\n" +
                " r:::::r     rrrrrrru::::u    u::::u    n::::n    n::::n     v:::::v v:::::v      p:::::p     p:::::p\n" +
                " r:::::r            u::::u    u::::u    n::::n    n::::n      v:::::v:::::v       p:::::p     p:::::p\n" +
                " r:::::r            u:::::uuuu:::::u    n::::n    n::::n       v:::::::::v        p:::::p    p::::::p\n" +
                " r:::::r            u:::::::::::::::uu  n::::n    n::::n        v:::::::v         p:::::ppppp:::::::p\n" +
                " r:::::r             u:::::::::::::::u  n::::n    n::::n         v:::::v          p::::::::::::::::p \n" +
                " r:::::r              uu::::::::uu:::u  n::::n    n::::n          v:::v           p::::::::::::::pp  \n" +
                " rrrrrrr                uuuuuuuu  uuuu  nnnnnn    nnnnnn           vvv            p::::::pppppppp    \n" +
                "                                                                                  p:::::p            \n" +
                "                                                                                  p:::::p            \n" +
                "                                                                                 p:::::::p           \n" +
                "                                                                                 p:::::::p           \n" +
                "                                                                                 p:::::::p           \n" +
                "                                                                                 ppppppppp           \n" +
                "                                                                                                     ");
    }
}